TABLE.DELETE_FIELDS Function

Syntax

L Table.Delete_Fields(C tablename ,C field_list )

Arguments

tablename

The name of the table that is losing fields.

field_list

A CR-LF delimited list of field(s).

Description

Removes fields from a table. Field_list is a crlf list of fields to be removed.

Discussion

The TABLE.DELETE_FIELDS() method deletes fields from an existing table. Field_List is a CR-LF delimited string containing the names of fields to be deleted. All of the existing data in Table_Name is preserved when the fields are deleted (except, or course for the data in the fields being deleted).

Example

This script deletes several the Lastname field from the Customer Information table.

table.delete_fields("Customer Information", "Lastname")

See Also